*{
    /* 初始化 */
    margin: 0;
    padding: 0;
}
body{
    /* 100%窗口高度 */
    height: 90vh;
    /* 弹性布局 水平+垂直居中 */
    display: flex;
    justify-content: left;
    align-items: center;
    /* 背景 */
    background: #517fa4;
}
.card{
    /* 相对定位 */
    position: relative;
    width: 300px;
    height: 500px;
    margin: 20px;
    background-color: #758a99;
    border-radius: 20px;
    /* 溢出隐藏 */
    overflow: hidden;
    /* 弹性布局 */
    display: flex;
    /* 元素纵向排列 */
    flex-direction: column;
    /* 居中 */
    align-items: center;
    color: #fff;
    /* 阴影 */
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    /* 不让其被挤压 */
    flex-shrink: 0;
}
.card .photo img{
    width: 100%;
    height: 100%;
    /* 保持原有尺寸比例，裁切长边 */
    object-fit: cover;
}
/* 默认大图 */
.card .photo{
    /* 绝对定位 */
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 0%;
    overflow: hidden;
    /* 动画过渡 */
    transition: 0.5s;
}
/* 鼠标移入变小图 */
.card:hover .photo{
    top: 30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}
/* 这里加个黑色到透明的渐变背景，可以更好的看清楚名字 */
.card .photo::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,transparent 50%,#222);
}
.card h1{
    position: absolute;
    top: 370px;
    transition: 0.5s;
}
.card:hover h1{
    top: 170px;
}
.card h2{
    margin-top: 220px;
    width: 80%;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    font-size: 20px;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
}
.card p{
    width: 90%;
    text-indent: 32px;
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 30px;
}
.card a{
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 8px 32px;
    border-radius: 8px;
}
.card a:hover{
    color: #fff;
    background-color: rgba(255,255,255,0.2);
}

/* 时间轴 */
.timeLine1 {
    width: 320px;
    border-top: 8px solid #B22222;
    position: absolute;
    left: 20px;
    top: 85%;
}
.timeLine2 {
    width: 350px;
    border-top: 8px solid #CD6839;
    position: absolute;
    left: 340px;
    top: 85%;
}
.timeLine3 {
    width: 340px;
    border-top: 8px solid #6B8E23;
    position: absolute;
    left: 675px;
    top: 85%;
}
.timeLine4 {
    width: 340px;
    border-top: 8px solid #CD950C;
    position: absolute;
    left: 1015px;
    top: 85%;
}
.timeLine5 {
    width: 340px;
    border-top: 8px solid #FFDEAD;
    position: absolute;
    left: 1355px;
    top: 85%;
}
.timeLine6 {
    width: 340px;
    border-top: 8px solid #FF8C69;
    position: absolute;
    left: 1695px;
    top: 85%;
}
.timeLine7 {
    width: 340px;
    border-top: 8px solid #FFD700;
    position: absolute;
    left: 2035px;
    top: 85%;
}
.timeLine8 {
    width: 340px;
    border-top: 8px solid #B22222;
    position: absolute;
    left: 2375px;
    top: 85%;
}
.timeLine9 {
    width: 340px;
    border-top: 8px solid #8B8B7A;
    position: absolute;
    left: 2715px;
    top: 85%;
}
.timeLine10 {
    width: 340px;
    border-top: 8px solid #6B8E23;
    position: absolute;
    left: 3055px;
    top: 85%;
}
.timeLine11 {
    width: 340px;
    border-top: 8px solid #CD6839;
    position: absolute;
    left: 3395px;
    top: 85%;
}
.timeLine12 {
    width: 340px;
    border-top: 8px solid #C1CDCD;
    position: absolute;
    left: 3735px;
    top: 85%;
}
.timeLine13 {
    width: 340px;
    border-top: 8px solid #8B4726;
    position: absolute;
    left: 4075px;
    top: 85%;
}
.timeLine14 {
    width: 340px;
    border-top: 8px solid #CDAD00;
    position: absolute;
    left: 4415px;
    top: 85%;
}
.timeLine15 {
    width: 340px;
    border-top: 8px solid #EEEE00;
    position: absolute;
    left: 4755px;
    top: 85%;
}
.timeLine16 {
    width: 340px;
    border-top: 8px solid #CD950C;
    position: absolute;
    left: 5095px;
    top: 85%;
}
/*时间轴上的文字*/
.timeText1 {
    text-indent: 20px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText2 {
    text-indent: 340px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText3 {
    text-indent: 675px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText4 {
    text-indent: 1015px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText5 {
    text-indent: 1355px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText6 {
    text-indent: 1695px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText7 {
    text-indent: 2035px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText8 {
    text-indent: 2375px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText9 {
    text-indent: 2715px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText10 {
    text-indent: 3055px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText11 {
    text-indent: 3395px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText12 {
    text-indent: 3735px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText13 {
    text-indent: 4075px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText14 {
    text-indent: 4415px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText15 {
    text-indent: 4755px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}
.timeText16 {
    text-indent: 5095px;
    font-size: 16px;
    font-weight: bold;
    position: absolute;
    top: 90%;
    color: white;
}